h1{
    display: block;
    text-align: center;
    color: red;
}
.upload {
    margin: 5px;
    width: 100px;
    height: 100px;
    border: solid 1px #ccc;
    border-radius: 4px;
    font-size: 60px;
    line-height: 100px;
    text-align: center;
    color: #ddd;
    position: relative;
    float: left;
}

.upload input {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 0px;
    left: 0px;
    opacity: 0;
    /*设置纯透明*/
    z-index: 100;
    cursor: pointer;
}

.upload #myimg {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 99;
}

.x-red{
    color:red;
}